#pragma once

#include <QDialog>

#include "stackplate.h"


QT_BEGIN_NAMESPACE
namespace Ui { class StackPlateCheckDIg; };
QT_END_NAMESPACE

class StackPlateInfoWid;

class StackPlateCheckDIg : public QDialog
{
	Q_OBJECT

public:
	StackPlateCheckDIg(QWidget* parent = nullptr);
	~StackPlateCheckDIg();

	bool Init(QList<StackPlate*>& plates);

	bool StartReset();

private slots:
	void on_pushButton_clicked();

private:
	Ui::StackPlateCheckDIg* ui;
	QList<StackPlateInfoWid*> m_wid;
	bool m_checkFinish = false;
};
